package org.boulderfoodrescue.webapp.client.rpc;

import java.util.List;

import org.boulderfoodrescue.webapp.shared.Location;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface LocationServiceAsync {

  void saveLocationData(Location donor, AsyncCallback<Long> callback);

  void removeUser(Location donor, AsyncCallback<Boolean> callback);

  void getDonors(AsyncCallback<List<Location>> callback);

  void getRecipients(AsyncCallback<List<Location>> callback);

}
